package com.shiro.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created with IntelliJ IDEA.
 * User: dengpeng
 * Date: 2018/7/6
 * Time: 15:38
 * Description: No Description
 */
@Controller
public class PageController {

    @RequestMapping(value = { "/", "/index" })
    public String index() {

        return "login";
    }

    @RequestMapping(value = "/home")
    public String home() {

        return "index";
    }

    @RequestMapping(value = "/app")
    public String a() {

        return "home";
    }
}
